* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.header {
  position: relative;

  .searcho {
    z-index: 999;
    width: 76%;
    height: 10%;
    border-radius: 8px;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 3px 2px 10px #666666;

    .seacontent {
      height: 100%;
      padding: 1%;
      display: flex;
      justify-content: space-between;

      .seainput {
        width: 88%;
        height: 100%;
        border: none;
        font-size: 1.4em;
        outline: none;
      }

      .seabut {
        width: 12%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #5C7BDA;
        border: none;
        cursor: pointer;

        .seabutimg {
          max-width: 20%;
        }

        .seatit {
          font-size: 1.5rem;

          & a {
            color: white;
            text-decoration: none;
          }
        }
      }
    }
  }
}

// 内容
.index {
  width: 100%;
  padding-top: 6.6%;

  // 活动
  .titlebox {
    text-align: center;
    width: 100%;

    .title-tit {
      font-size: 2.5em;
    }

    .title-p {
      color: #666666;
      font-size: 2em;
    }
  }

  .activeo {
    width: 80%;
    margin: auto;

    .actbutbox {
      width: 80%;
      margin: auto;
      margin-top: 4%;
      display: flex;
      justify-content: space-between;

      // 选项卡切换

      .tab-button {
        width: 12%;
        padding: 1vh 2vh;
        border-radius: 30px;
        border: solid 2px #1A42BB;
        background-color: white;
        color: #1A42BB;
      }

      .tab-button:hover {
        background-color: #1A42BB;
        color: white;
      }

      .tab-button .active {
        background-color: greenyellow;
      }

      // 选项卡切换
    }

    .actimgbox {
      width: 80%;
      height: 460px;
      margin: auto;
      margin-top: 4%;
      display: flex;
      justify-content: space-between;
      overflow: hidden;
      text-align: center;

      .nobox {
        font-size: 3em;
      }

      .actimg {
        width: 22%;
        height: 460px;

        & img {
          max-width: 100%;
          max-height: 100%;
          height: 100%;
          width: 100%;
          transition: all 1.5s;
          background-repeat: repeat;
        }
      }
    }

    .actimg:hover img {
      transform: scale(1.2);
    }
  }

  // 活动
  // 目的地
  .bourn {
    width: 80%;
    margin: auto;
    padding-top: 4.2%;

    .bouimgbox {
      width: 90%;
      height: 676px;
      margin: auto;
      display: flex;
      justify-content: center;
      margin-top: 4%;
      position: relative;
      overflow: hidden;

      .bounobox {
        display: flex;
        align-items: center;
        font-size: 3em;
      }

      & img {
        max-width: 100%;
        max-height: 100%;
        background-repeat: repeat;
      }

      .overlay {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        /* 半透明黑色背景 */
        position: absolute;
        bottom: -100%;
        transition: bottom 0.5s ease;
        color: white;
        text-align: center;
        display: flex;
        align-items: center;

        .ovetit {
          width: 50%;
          height: auto;
          margin: auto;
          font-size: 3vw;
          border: solid 3px white;
          border-radius: 50px;
          padding: 10px;

          & a {
            color: white;
            text-decoration: none;
          }
        }
      }

    }

    .bouimgbox:hover .overlay {
      bottom: 0;
    }

    // 按妞
    .boubutbox {
      width: 90%;
      margin: auto;
      margin-top: 5%;
      display: flex;
      justify-content: space-between;

      .bountbut {
        width: 22%;
        font-size: 2em;
        padding: 0.5% 0;
        color: black;
        border-radius: 20px;
        border: solid 1px #DEDEDE;
      }

      .bountbut:hover {
        color: white;
        background-color: #252B3A;
      }
    }

    // 按妞
  }

  // 目的地
  // 新闻
  .news {
    width: 90%;
    margin: auto;
    margin-top: 4.2%;

    .newscontent {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-top: 4%;

      .newsbox {
        width: 32%;
        padding: 2%;
        box-sizing: border-box;
        text-align: center;
        border: solid 1px #E1E1E1;
        box-shadow: 1px 1px 10px #D9D9D9;
        overflow: hidden;

        .newsp {
          font-size: 1rem;

          & a {
            color: black;
            text-decoration: none;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
          }
        }

        .newsimg {
          max-width: 100%;
          margin: 4% 0;
          transition: all 1.5s;
        }

        .newstext {
          width: 100%;
          height: 35px;
          color: #AFAFAF;
          font-size: 0.9rem;

          & a {
            color: #AFAFAF;
            text-decoration: none;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }
        }
      }

      .newsbox:hover .newsimg {
        transform: scale(1.1);
      }
    }
  }

  // 新闻
  // 营友圈
  .firendcircle {
    width: 80%;
    margin: auto;
    margin-top: 4.2%;

    .fcbox {
      border: 1px solid #E8E8E8;
      box-shadow: 1px 1px 10px #E8E8E8;
      width: 70%;
      margin: auto;
      border-radius: 20px;
      padding: 3% 5%;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      margin-top: 4%;

      .fcleft {
        width: 20%;
        height: 30%;
        display: flex;

        .fcleftimg {
          width: 141px;
          height: 141px;
          & img {
            max-width: 100%;
            max-height: 100%;
            width: 100%;
            height: 100%;
          border-radius: 50%;
            object-fit: cover;
          }
        }

      }

      .fcright {
        width: 78%;

        .fcrtop {
          display: flex;
          justify-content: space-between;
          align-items: center;

          .fcintro {

            .fcname {
              font-size: 1.5rem;
            }

            .fctime {
              font-size: 0.8rem;
              color: #A1A1A1;
              margin: 20% 0;
            }
          }

          .guan {
            cursor: pointer;
            color: #FFC528;
            border: #FFC528 1px solid;
            border-radius: 20px;
            padding: 1% 2%;
            box-sizing: border-box;
            background-color: white;
          }
        }

        .fctext {
          font-size: 1.5rem;
          overflow: hidden;
          /* 隐藏超出容器宽度的部分 */
          text-overflow: ellipsis;
          /* 显示省略号 */
          max-width: 100%;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          /* 限制显示的行数为2 */
          -webkit-box-orient: vertical;
        }

        .fcrbot {
          display: flex;
          justify-content: space-around;


          .zan {
            margin-top: 5%;
            display: flex;
            align-items: center;
            width: 20%;
            color: #A4A4A4;
            font-size: 0.9%;
            cursor: pointer;

            & img {
              max-width: 100%;
              margin-right: 6px;
            }
          }
        }
      }
    }
  }

  // 营友圈
  // 装备
  .equip {
    width: 100%;
    margin: auto;
    margin-top: 4%;

    .equipbox {
      margin-top: 4%;
    }
  }

  // 装备



}

// 内容
// 响应769px
@media screen and (max-width:769px) {
  .header .searcho .seacontent .seabut .seatit {
    font-size: 0.5rem;
  }

  .index {
    .titlebox {

      .title-tit {
        font-size: 1.5rem;
      }

      .title-p {
        font-size: 1rem;
      }
    }

    .activeo {
      .actbutbox {
        width: 100%;
        flex-wrap: wrap;

        .tab-button {
          width: 30%;
          padding: 0;
          font-size: 1.1rem;
          margin-top: 2%;
        }
      }

      .actimgbox {
        height: 80px;

        .nobox {
          font-size: 2em;
        }

        .actimg {
          width: 90%;
          margin: auto;
          height: 80px;
        }

        .actimg:nth-child(n+2) {
          display: none;
        }
      }
    }

    .bourn {
      .bouimgbox {
        height: 120px;

        .overlay {
          .ovetit {
            width: 60%;
            font-size: 1.1rem;
          }
        }
      }

      .boubutbox {
        .bountbut {
          font-size: 1.1rem;
        }
      }
    }

    .news {
      .newscontent {
        .newsbox:nth-child(n+2) {
          display: none;
        }

        .newsbox {
          width: 100%;
        }
      }
    }

    .firendcircle {
      .fcbox:last-child {
        display: none;
      }

      .fcbox {
        width: 100%;
        .fcleft{
          .fcleftimg{
            & img{
              height: auto;
            }
          }
        }

        .fcright {
          .fctext {
            font-size: 1rem;
          }
        }
      }
    }

    .equip {
      width: 90%;
    }
  }
}

// 响应769px
